package com.block.db.mapper;

import com.block.db.entity.ProductPush;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 商品上架管理 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2022-07-29
 */
public interface ProductPushMapper extends BaseMapper<ProductPush> {

    List<ProductPush> getProductIdList(
            @Param("clientType") String clientType,
            @Param("sceneId") Integer sceneId,
            @Param("reqChannelType") String reqChannelType,
            @Param("nowTime") String nowTime,
            @Param("nowDate") String nowDate
    );

    ProductPush selectByProductId(@Param("productId") Long id);

    List<ProductPush> selectProductPushListByJob();
}
